<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>QAction Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<h1 align="center">QAction Class Reference</h1>
<h3 align="center">[<a href="qt_widgets.html">qt.widgets</a> package]</h3>
<p>Inherits <a href="qobject.html">QObject</a>.</p>
<h3>Constructor</h3>
<ul>
<li><div class="fn"/><b>void QAction(QObject parent)</b></li>
<li><div class="fn"/><b>void QAction(QIcon icon, String text, QObject parent)</b></li>
<li><div class="fn"/><b>void QAction(String text, QObject parent)</b></li>
</ul>
<h3>Constructor Properties</h3>
<ul>
<li><b>prototype</b>: The QAction prototype object</li>
<li><b>Trigger</b></li>
<li><b>Hover</b></li>
<li><b>ActionEvent( value )</b></li>
<li><b>NoRole = 0</b></li>
<li><b>TextHeuristicRole</b></li>
<li><b>ApplicationSpecificRole</b></li>
<li><b>AboutQtRole</b></li>
<li><b>AboutRole</b></li>
<li><b>PreferencesRole</b></li>
<li><b>QuitRole</b></li>
<li><b>MenuRole( value )</b></li>
</ul>
<h3>Prototype Object Properties</h3>
<p>The QAction prototype object inherits properties from the <a href="qobject.html">QObject</a> prototype object and also has the following properties.</p>
<ul>
<li><div class="fn"/><b>QActionGroup actionGroup()</b></li>
<li><div class="fn"/><b>void activate(ActionEvent event)</b></li>
<li><div class="fn"/><b>List associatedGraphicsWidgets()</b></li>
<li><div class="fn"/><b>List associatedWidgets()</b></li>
<li><div class="fn"/><b>Object data()</b></li>
<li><div class="fn"/><b>bool isSeparator()</b></li>
<li><div class="fn"/><b>QMenu menu()</b></li>
<li><div class="fn"/><b>QWidget parentWidget()</b></li>
<li><div class="fn"/><b>void setActionGroup(QActionGroup group)</b></li>
<li><div class="fn"/><b>void setData(Object var)</b></li>
<li><div class="fn"/><b>void setMenu(QMenu menu)</b></li>
<li><div class="fn"/><b>void setSeparator(bool b)</b></li>
<li><div class="fn"/><b>void setShortcuts(StandardKey arg__1)</b></li>
<li><div class="fn"/><b>List shortcuts()</b></li>
<li><div class="fn"/><b>bool showStatusText(QWidget widget)</b></li>
</ul>
<h3>Instance Properties</h3>
<p>QAction objects inherit properties from the QAction prototype object and also have the following properties.</p>
<ul>
<li><div class="fn"/><b>checkable</b></li>
<li><div class="fn"/><b>checked</b></li>
<li><div class="fn"/><b>enabled</b></li>
<li><div class="fn"/><b>icon</b></li>
<li><div class="fn"/><b>text</b></li>
<li><div class="fn"/><b>iconText</b></li>
<li><div class="fn"/><b>toolTip</b></li>
<li><div class="fn"/><b>statusTip</b></li>
<li><div class="fn"/><b>whatsThis</b></li>
<li><div class="fn"/><b>font</b></li>
<li><div class="fn"/><b>shortcut</b></li>
<li><div class="fn"/><b>shortcutContext</b></li>
<li><div class="fn"/><b>autoRepeat</b></li>
<li><div class="fn"/><b>visible</b></li>
<li><div class="fn"/><b>menuRole</b></li>
<li><div class="fn"/><b>iconVisibleInMenu</b></li>
<li><div class="fn"/><b>priority</b></li>
</ul>
</body>
</html>
